//引入js文件
import instance from "../untils/request";

// 获取验证码接口
export function GetSms(data) {
  return instance.request({
    method: "post",
    url: "/getSms/",
    data,
  });
}
// 登录接口
export function Login(data) {
  return instance.request({
    method: "post",
    url: "/login/",
    data,
  });
}
// 注册接口
export function Register(data) {
  return instance.request({
    method: "post",
    url: "/register/",
    data,
  });
}
/**
 * 获取城市列表
 */
export function GetCity(data = {}) {
  return instance.request({
    method: "post",
    url: "/cityPicker/",
    data,
  });
}
